package com.tebiecloud.order.client.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.tebiecloud.common.mybatis.base.entity.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 预约订单关联表
 * @author tebie
 * @date 2019-10-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ReserveOrder extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 预约订单id
     */
    @TableId(value = "reserve_order_id", type = IdType.ID_WORKER)
    private Long reserveOrderId;

    /**
     * 预约单id
     */
    private Long reserveId;

    /**
     * 订单id
     */
    private Long orderId;

}
